# $Id: PKGBUILD 84776 2013-02-24 14:29:20Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: ReNoM <renom@list.ru>
pkgname=spring-1944
pkgver=1.62
pkgrel=1
pkgdesc="A WWII themed game with four fully functional sides (US, Germany, USSR, Britain), period-accurate units and strengths"
arch=(any)
url="http://www.spring1944.net/"
license="GPL"
depends=('spring')
source=("http://spring2.admin-box.com/games/spring__1944-v1.62_operation_most_iii.sdz"
        "http://spring1944.net/files/Maps/1944_BocageSkirmish.sd7"
        "http://spring1944.net/files/Maps/1944_Kiev_V4.sd7" 
        "http://spring1944.net/files/Maps/1944_Road_To_Rome_V3.sd7"
        "http://spring1944.net/files/Maps/1944_Caucasus_Skirmish_V4.sd7"
        "http://spring1944.net/files/Maps/1944_Village_Crossing_V2.sd7"
        "http://spring1944.net/files/Maps/1944_Terra_Firma.sd7")
md5sums=('1dd62bef647ed74ff78ac922797f845e'
         'fd78cc0602afde996338b3ef4556e86c'
         '708d064156962462de8e666c8859cbc4'
         '3557ca2600616ce25b492181a761793c'
         '3c29e33ff8d2848fa4f9d9893dc430dc'
         '3b9ab4004f03df719ef6acacfece5970'
         '7ae909f80ea623034efc46060ba875f4')

package() {
  mkdir -p $pkgdir/usr/share/spring/mods
  mkdir -p $pkgdir/usr/share/spring/maps
  install -Dm644 -t $pkgdir/usr/share/spring/mods $srcdir/*.sdz
  install -Dm644 -t $pkgdir/usr/share/spring/maps $srcdir/*.sd7
}

# vim: sw=2:ts=2 et:
